package cap2;

import java.awt.Color;

public class testEjercicioColor {
	public static void main(String[] arg){
		Color S1,S2,S3,S4,S5;
		S1 = new Color(100,90,120);
		S2 = new Color(55,110,100);
		S3 = new Color(110,110,100);
		S4 = S1;
		S1 = S3;
		S2 = S1;
		S1 = new Color(80,80,80);

//		//BLOQUE 1
//		S2 = S1.clone();
//		boolean b1,b2;
//		b1 = S1==S2;
//		b2 = S1.equals(S2);
//		
//		//BLOQUE 2
//		S3.copy(S1);
//		boolean b1,b2;
//		b1 = S1==S3;
//		b2 = S1.equals(S3);
//		
//		//BLOQUE 3
//		S4 = S1;
//		boolean b1,b2;
//		b1 = S1==S4;
//		b2 = S1.equals(S2);
	}
}
